package com.sorhis.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.List;

@Data
public class SysMenuTreeVO {

    private String id;
    private String parentId;
    private String menuName;// 菜单名称
    private Boolean expand = true; //展开菜单
    private Boolean checked = false; //默认不选中
    private Boolean disabled = false; //默认不禁用

    @JsonInclude(JsonInclude.Include.NON_NULL) //json序列化如果是null就不要保留该属性
    private List<SysMenuTreeVO> children;


}
